import React from "react";

import ProfilePageFunction from './ProfilePageFunction';
import ProfilePageClass from './ProfilePageClass';

class App extends React.Component {
  state = {
    user: 'Dan',
  };
  render() {
    return (
      <>
        <p>
          <b> (function)</b>
          <ProfilePageFunction />
        </p>
        <p>
          <b> (class)</b>
          <ProfilePageClass />
        </p>
      </>
    )
  }
}
export default App;

